package org.jeecg.modules.report.hotel.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.report.hotel.entity.BedReport;
import org.jeecg.modules.report.hotel.entity.HotelRoom;
import org.jeecg.modules.report.hotel.entity.LwgyHotelReport;
import org.jeecg.modules.report.hotel.entity.RoomReport;

import java.util.List;
import java.util.Map;

/**
 * TODO
 *
 * @author CSD
 * @date 2021-04-08 13:34
 */
public interface HotelReportService  extends IService<LwgyHotelReport> {

    Map<String,Integer> getNoneRoomByCampus(String campus);

    Map<String, Integer> getUnderRoomByCampus(String campus);

    List<HotelRoom> getList(String campus);

    IPage<HotelRoom> queryPageListCustom(Page<HotelRoom> page, String campus);

    List<RoomReport> roomUseReport(RoomReport roomReport);

    List<BedReport> bedUseReport(BedReport bedReport);
}
